package com.hongyuan.venue.ui.home.beans;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class SecheduleBeans {


    /**
     * start_time : 09:00
     * end_time : 22:00
     * arr_time : [1606438800,1606442400,1606446000,1606449600,1606453200,1606456800,1606460400,1606464000,1606467600,1606471200,1606474800,1606478400,1606482000,1606485600]
     * page : 10
     * curpage : 1
     * page_total : 2
     * name : [{"area_name":"哈哈哈","area_id":107},{"area_name":"场地1","area_id":108},{"area_name":"场地2","area_id":109},{"area_name":"场地3","area_id":110},{"area_name":"场地4","area_id":111},{"area_name":"场地5","area_id":112},{"area_name":"场地6","area_id":113},{"area_name":"场地7","area_id":114},{"area_name":"场地8","area_id":115},{"area_name":"场地9","area_id":116}]
     * list : [[{"id":"107_0","s_time":1606438800,"e_time":1606440600,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":3},{"id":"107_1","s_time":1606440600,"e_time":1606442400,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":4},{"id":"107_2","s_time":1606442400,"e_time":1606444200,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":4},{"id":"107_3","s_time":1606444200,"e_time":1606446000,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_4","s_time":1606446000,"e_time":1606447800,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_5","s_time":1606447800,"e_time":1606449600,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_6","s_time":1606449600,"e_time":1606451400,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_7","s_time":1606451400,"e_time":1606453200,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_8","s_time":1606453200,"e_time":1606455000,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_9","s_time":1606455000,"e_time":1606456800,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_10","s_time":1606456800,"e_time":1606458600,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_11","s_time":1606458600,"e_time":1606460400,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_12","s_time":1606460400,"e_time":1606462200,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_13","s_time":1606462200,"e_time":1606464000,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_14","s_time":1606464000,"e_time":1606465800,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_15","s_time":1606465800,"e_time":1606467600,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_16","s_time":1606467600,"e_time":1606469400,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_17","s_time":1606469400,"e_time":1606471200,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_18","s_time":1606471200,"e_time":1606473000,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_19","s_time":1606473000,"e_time":1606474800,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_20","s_time":1606474800,"e_time":1606476600,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":1},{"id":"107_21","s_time":1606476600,"e_time":1606478400,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":3},{"id":"107_22","s_time":1606478400,"e_time":1606480200,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":3},{"id":"107_23","s_time":1606480200,"e_time":1606482000,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":3},{"id":"107_24","s_time":1606482000,"e_time":1606483800,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":3},{"id":"107_25","s_time":1606483800,"e_time":1606485600,"type_timespan":30,"type_price":"10.00","area_name":"哈哈哈","area_id":107,"is_reserve":3}],[{"id":"108_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":3},{"id":"108_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":1},{"id":"108_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":1},{"id":"108_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":1},{"id":"108_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":1},{"id":"108_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":1},{"id":"108_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":1},{"id":"108_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":3},{"id":"108_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地1","area_id":108,"is_reserve":3}],[{"id":"109_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":3},{"id":"109_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":1},{"id":"109_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":1},{"id":"109_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":1},{"id":"109_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":1},{"id":"109_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":1},{"id":"109_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":1},{"id":"109_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":3},{"id":"109_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地2","area_id":109,"is_reserve":3}],[{"id":"110_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":3},{"id":"110_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":1},{"id":"110_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":1},{"id":"110_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":1},{"id":"110_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":1},{"id":"110_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":1},{"id":"110_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":1},{"id":"110_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":3},{"id":"110_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地3","area_id":110,"is_reserve":3}],[{"id":"111_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":3},{"id":"111_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":1},{"id":"111_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":1},{"id":"111_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":1},{"id":"111_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":1},{"id":"111_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":1},{"id":"111_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":1},{"id":"111_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":3},{"id":"111_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地4","area_id":111,"is_reserve":3}],[{"id":"112_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":3},{"id":"112_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":1},{"id":"112_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":1},{"id":"112_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":1},{"id":"112_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":1},{"id":"112_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":1},{"id":"112_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":1},{"id":"112_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":3},{"id":"112_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地5","area_id":112,"is_reserve":3}],[{"id":"113_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":3},{"id":"113_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":1},{"id":"113_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":1},{"id":"113_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":1},{"id":"113_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":1},{"id":"113_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":1},{"id":"113_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":1},{"id":"113_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":3},{"id":"113_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地6","area_id":113,"is_reserve":3}],[{"id":"114_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":3},{"id":"114_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":1},{"id":"114_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":1},{"id":"114_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":1},{"id":"114_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":1},{"id":"114_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":1},{"id":"114_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":1},{"id":"114_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":3},{"id":"114_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地7","area_id":114,"is_reserve":3}],[{"id":"115_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":3},{"id":"115_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":1},{"id":"115_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":1},{"id":"115_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":1},{"id":"115_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":1},{"id":"115_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":1},{"id":"115_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":1},{"id":"115_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":3},{"id":"115_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地8","area_id":115,"is_reserve":3}],[{"id":"116_0","s_time":1606438800,"e_time":1606444200,"type_timespan":90,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":3},{"id":"116_1","s_time":1606444200,"e_time":1606449600,"type_timespan":90,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":1},{"id":"116_2","s_time":1606449600,"e_time":1606455000,"type_timespan":90,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":1},{"id":"116_3","s_time":1606455000,"e_time":1606460400,"type_timespan":90,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":1},{"id":"116_4","s_time":1606460400,"e_time":1606465800,"type_timespan":90,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":1},{"id":"116_5","s_time":1606465800,"e_time":1606471200,"type_timespan":90,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":1},{"id":"116_6","s_time":1606471200,"e_time":1606476600,"type_timespan":90,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":1},{"id":"116_7","s_time":1606476600,"e_time":1606482000,"type_timespan":90,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":3},{"id":"116_8","s_time":1606482000,"e_time":1606485600,"type_timespan":60,"type_price":"10.00","area_name":"场地9","area_id":116,"is_reserve":3}]]
     */

    private String start_time;
    private String end_time;
    private int page;
    private int curpage;
    private int page_total;
    private List<Long> arr_time;
    private List<NameBean> name;
    private List<List<ListBean>> list;
    private Map<Integer,Integer> heightMap;

    public Map<Integer, Integer> getHeightMap() {
        if(heightMap == null){
            heightMap = new HashMap<>();
        }
        int maxSize = ((int) (arr_time.get(arr_time.size()-1) -arr_time.get(0)) / 1800)+1;
        for(int i = 0 ; i < list.size() ; i++){
            heightMap.put(i,maxSize/list.get(i).size());
        }
        return heightMap;
    }

    public int getMaxNums(){
        int maxSize = ((int) (arr_time.get(arr_time.size()-1) -arr_time.get(0)) / 1800)+1;
        return maxSize;
    }

    public void setHeightMap(Map<Integer, Integer> heightMap) {
        this.heightMap = heightMap;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getCurpage() {
        return curpage;
    }

    public void setCurpage(int curpage) {
        this.curpage = curpage;
    }

    public int getPage_total() {
        return page_total;
    }

    public void setPage_total(int page_total) {
        this.page_total = page_total;
    }

    public List<Long> getArr_time() {
        List<Long> lefts = new ArrayList<>();
        int maxSize = ((int) (arr_time.get(arr_time.size()-1) -arr_time.get(0)) / 1800)+1;

        for(int i = 0 ; i < maxSize ; i++){
            lefts.add((arr_time.get(0)+1800*i)*1000);
        }
        return lefts;
    }

    public void setArr_time(List<Long> arr_time) {
        this.arr_time = arr_time;
    }

    public List<NameBean> getName() {
        return name;
    }

    public void setName(List<NameBean> name) {
        this.name = name;
    }

    public List<List<ListBean>> getList() {
        //二维数组行列互换
        SecheduleBeans.ListBean arr2[][] = new SecheduleBeans.ListBean[getMaxSize()][list.size()];
        for(int i = 0 ; i < list.size() ; i++){
            for(int j = 0 ; j < list.get(i).size() ; j++){
                arr2[j][i] = list.get(i).get(j);
            }
        }

        //数组在转换集合
        List<List<SecheduleBeans.ListBean>> newList = new ArrayList<>();
        for (int i = 0; i < arr2.length; i++) {
            List<SecheduleBeans.ListBean> columnList = new ArrayList<>();
            for (int j = 0; j < arr2[i].length; j++) {

                columnList.add(j, arr2[i][j]);

            }
            newList.add(i, columnList);
        }
        return newList;
    }

    public void setList(List<List<ListBean>> list) {
        this.list = list;
    }

    public int getMaxSize(){
        int maxSize = ((int) (arr_time.get(arr_time.size()-1) -arr_time.get(0)) / 1800)+1;
        return maxSize;
    }

    public static class NameBean {
        /**
         * area_name : 哈哈哈
         * area_id : 107
         */

        private String area_name;
        private int area_id;

        public String getArea_name() {
            return area_name;
        }

        public void setArea_name(String area_name) {
            this.area_name = area_name;
        }

        public int getArea_id() {
            return area_id;
        }

        public void setArea_id(int area_id) {
            this.area_id = area_id;
        }
    }

    public static class ListBean {
        /**
         * id : 107_0
         * s_time : 1606438800
         * e_time : 1606440600
         * type_timespan : 30
         * type_price : 10.00
         * area_name : 哈哈哈
         * area_id : 107
         * is_reserve : 3
         */

        private String id;
        private long s_time;
        private long e_time;
        private int type_timespan;
        private String type_price;
        private String area_name;
        private int area_id;
        private int is_reserve;
        private boolean select;

        //传参需要的
        private String start_time;
        private String end_time;
        private String price;

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public boolean isSelect() {
            return select;
        }

        public void setSelect(boolean select) {
            this.select = select;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public long getS_time() {
            return s_time;
        }

        public void setS_time(long s_time) {
            this.s_time = s_time;
        }

        public long getE_time() {
            return e_time;
        }

        public void setE_time(long e_time) {
            this.e_time = e_time;
        }

        public int getType_timespan() {
            return type_timespan;
        }

        public void setType_timespan(int type_timespan) {
            this.type_timespan = type_timespan;
        }

        public String getType_price() {
            return type_price;
        }

        public void setType_price(String type_price) {
            this.type_price = type_price;
        }

        public String getArea_name() {
            return area_name;
        }

        public void setArea_name(String area_name) {
            this.area_name = area_name;
        }

        public int getArea_id() {
            return area_id;
        }

        public void setArea_id(int area_id) {
            this.area_id = area_id;
        }

        public int getIs_reserve() {
            return is_reserve;
        }

        public void setIs_reserve(int is_reserve) {
            this.is_reserve = is_reserve;
        }
    }
}
